
//
//  LauchImageView.m
//  HandheldELearn
//
//  Created by wsj2015 on 16/7/13.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "LauchImageView.h"

@implementation LauchImageView


-(void)awakeFromNib{
 
    UIImageView *imageView =[UIImageView new];
    [self addSubview:imageView];
    imageView.frame = CGRectMake(100, 200, 49, 49);
    NSArray *imageName =@[@"heart-empty",@"heart-half",@"heart-full"];
    NSMutableArray *arr =[NSMutableArray array];
    [imageName enumerateObjectsUsingBlock:^(NSString  * obj, NSUInteger idx, BOOL * _Nonnull stop) {
        [arr addObject:[UIImage imageNamed:obj]];
        
    }];
    imageView.animationImages =arr;
    [imageView startAnimating];
    
}
@end
